package com.aerozhonghuan.logisticsmall.modules.order.beans;

import java.io.Serializable;
import java.util.List;

/**
 * 描述 订单列表对象
 * @author zhangyonghui
 * 创建日期 2019-05-23
 */
public class OrdersListBean implements Serializable {
    private int total;
    private int totalPage;
    private List<OrderListBean> datalist;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<OrderListBean> getDatalist() {
        return datalist;
    }

    public void setDatalist(List<OrderListBean> datalist) {
        this.datalist = datalist;
    }

    @Override
    public String toString() {
        return "MessageListBean{" +
                "total=" + total +
                ", totalPage=" + totalPage +
                ", datalist=" + datalist +
                '}';
    }

    public class OrderListBean implements Serializable{
        private int billId;
        private String billNumber;
        private String stationName;
        private String companyName;
        private int sid;
        private int status;
        private int totalPrice;
        private int totalNumber;
        private List<CommodityListBean> plist;

        public int getBillId() {
            return billId;
        }

        public void setBillId(int billId) {
            this.billId = billId;
        }

        public String getBillNumber() {
            return billNumber;
        }

        public void setBillNumber(String billNumber) {
            this.billNumber = billNumber;
        }

        public String getStationName() {
            return stationName;
        }

        public void setStationName(String stationName) {
            this.stationName = stationName;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getCompanyName() {
            return companyName;
        }

        public void setCompanyName(String companyName) {
            this.companyName = companyName;
        }

        public int getSid() {
            return sid;
        }

        public void setSid(int sid) {
            this.sid = sid;
        }

        public int getTotalPrice() {
            return totalPrice;
        }

        public void setTotalPrice(int totalPrice) {
            this.totalPrice = totalPrice;
        }

        public int getTotalNumber() {
            return totalNumber;
        }

        public void setTotalNumber(int totalNumber) {
            this.totalNumber = totalNumber;
        }

        public List<CommodityListBean> getPlist() {
            return plist;
        }

        public void setPlist(List<CommodityListBean> plist) {
            this.plist = plist;
        }

        @Override
        public String toString() {
            return "OrderListBean{" +
                    "billId=" + billId +
                    ", billNumber='" + billNumber + '\'' +
                    ", stationName='" + stationName + '\'' +
                    ", status=" + status +
                    ", totalPrice=" + totalPrice +
                    ", totalNumber=" + totalNumber +
                    ", plist=" + plist +
                    '}';
        }
    }

    public class CommodityListBean implements Serializable{
        private String baseName;
        private int price;
        private String number;
        private String image;
        private String brand;
        private String spec;

        public String getBaseName() {
            return baseName;
        }

        public void setBaseName(String baseName) {
            this.baseName = baseName;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        public String getSpec() {
            return spec;
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }

        @Override
        public String toString() {
            return "CommodityListBean{" +
                    "baseName='" + baseName + '\'' +
                    ", price=" + price +
                    ", number=" + number +
                    ", image='" + image + '\'' +
                    '}';
        }
    }

}
